import { PageEnum } from '@/enums/pageEnum';

const fixedMenuConfig = {
  title: { title: '', icon: '' },
  expand: { expandAble: false, icon: '' },
  menuList: [
    {
      name: '发现音乐',
      path: PageEnum.MENU_MUSIC_DISCOVERY,
      prefixIcon: '',
      suffixIcon: '',
      tabs: [
        { tabName: '个性推荐', tabEnglishName: 'PersonalizedRecommendations', displayDirective: 'show:lazy' },
        { tabName: '专属订制', tabEnglishName: 'ExclusiveCustomization', displayDirective: 'if' },
        { tabName: '歌单', tabEnglishName: 'SongSheet', displayDirective: 'if' },
        { tabName: '排行榜', tabEnglishName: 'RankingList', displayDirective: 'show' },
        { tabName: '歌手', tabEnglishName: 'Singer', displayDirective: 'if' },
        { tabName: '最新音乐', tabEnglishName: 'LatestMusic', displayDirective: 'if' },
      ],
    },
    { name: '播客', path: PageEnum.MENU_PODCAST, prefixIcon: '', suffixIcon: '' },
    { name: '视频', path: PageEnum.MENU_VIDEO, prefixIcon: '', suffixIcon: '' },
    { name: '关注', path: PageEnum.MENU_FOLLOW, prefixIcon: '', suffixIcon: '' },
    { name: '私人漫游', path: PageEnum.MENU_PRIVATE_ROAMING, prefixIcon: '', suffixIcon: '' },
  ],
};
const myMusicConfig = {
  title: { titleName: '我的音乐', icon: '' },
  expand: { expandAble: true, icon: '', defaultExpanded: true },
  menuList: [
    { name: '我喜欢的音乐', path: PageEnum.MENU_MY_FAVORITE_MUSIC, prefixIcon: 'menu-heart', suffixIcon: '' },
    { name: '本地与下载', path: PageEnum.MENU_LOCAL_AND_DOWNLOAD, prefixIcon: 'menu-download', suffixIcon: '' },
    { name: '最近播放', path: PageEnum.MENU_RECENTLY_PLAYED, prefixIcon: 'menu-recently-played', suffixIcon: '' },
    { name: '我的音乐云盘', path: PageEnum.MENU_MY_PODCAST, prefixIcon: 'menu-cloud', suffixIcon: '' },
    { name: '我的播客', path: PageEnum.MENU_MY_PODCAST, prefixIcon: 'menu-podcast', suffixIcon: '' },
    { name: '我的收藏', path: PageEnum.MENU_MY_COLLECTION, prefixIcon: 'menu-collect', suffixIcon: '' },
  ],
};

const songListConfig = {
  expand: { expandAble: true, icon: '', defaultExpanded: true },
  menuList: { prefixIcon: 'menu-song-list', suffixIcon: '', path: PageEnum.MENU_SONG_LIST },
};

export { fixedMenuConfig, myMusicConfig, songListConfig };
